package com.yunyi.user.service;

import com.yunyi.model.worker.WorkerInfo;
import com.yunyi.model.worker.dto.WorkOrderInfo;
import com.yunyi.model.worker.dto.WorkTimeDto;

import java.util.List;
import java.util.Map;

/**
 * @ClassName UserService
 * @Description 用户接口操作接口
 * @Author leizhang
 * Date 2021/8/16 4:31 下午
 * @Version 1.0
 **/
public interface WorkerService {
    /**
     * @Description : 获取用户信息
     * @Author : leizhang
     * @Date 4:46 下午 2021/8/16
     * @param requestParam
     * @return com.yunyi.model.user.UserInfo
     **/
    List<WorkTimeDto> getWorkerInfo(Map<String,Object> requestParam) throws Exception;
    
    /**
     * @Description : 员工报名
     * @Author : leizhang
     * @Date 2:47 下午 2021/8/17
     * @param requestParam
     * @return void
     **/
    int saveWorkInfo(Map<String,Object> requestParam) throws Exception;
    
    /**
     * @Description : 签到
     * @Author : leizhang
     * @Date 12:14 上午 2021/8/18
     * @param requestParam
     * @return void
     **/
    void updateWorkTime(Map<String,Object> requestParam) throws Exception;

    /**
     * @Description : 更新工作状态
     * @Author : leizhang
     * @Date 11:02 下午 2021/8/21
     * @param requestParam
     * @return void
     **/
    void updateWorkStatus(Map<String,Object> requestParam) throws Exception;

    /**
     * @Description : 员工订单信息
     * @Author : leizhang
     * @Date 12:49 上午 2021/8/22
     * @param
     * @return java.util.List<com.yunyi.model.worker.dto.WorkOrderInfo>
     **/
    List<WorkOrderInfo> getWorkInfoByStatus(Map<String,Object> requestParam) throws Exception;


}
